package com.hackintosh.adapter.pattern;

/**
 * @description：
 * @author：twislyn
 * @date：Created in 2021/05/12
 * @modified By：
 * @version: 1.0
 */
public class ElectricAdapter implements Motor {

    private ElectricMotor electricMotor;

    public ElectricAdapter(){
        electricMotor = new ElectricMotor();
    }

    @Override
    public void drive() {
        electricMotor.electricDrive();
    }
}
